import { useCookies } from "@vueuse/integrations/useCookies";

const cookie = useCookies();
const TOKEN_KEY = "admin-token";

export const getToken = () => cookie.get(TOKEN_KEY);
export const setToken = (token: string) => cookie.set(TOKEN_KEY, token);
export const removeToken = () => cookie.remove(TOKEN_KEY);
